package cn.ctwing.ws.client.api;

/**
 * 
 * @author eric
 *
 */
public interface IWSChannel {
	String getId();
	boolean isActive();
	int state();
	IWSChannel reTry();
	IWSChannel connect();
	IWSChannel close();
	IWSChannel setCallback(IWSCallback callback);
}
